﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CardLog.aspx.cs" Inherits="Web.CardLog" %>

<!doctype html>
<html lang="en">
<head>
    <title></title>
    <link href="yaml/core/base.min.css" rel="stylesheet" />
    <link href="yaml/forms/gray-theme.css" rel="stylesheet" />
    <link href="yaml/screen/typography.css" rel="stylesheet" />
    <!--[if lte IE 7]>
      <link rel="stylesheet" href="yaml/core/iehacks.min.css" type="text/css"/>
      <![endif]-->
    <!--[if lt IE 9]>
      <script src="yaml/lib/html5shiv/html5shiv.js"></script>
      <![endif]-->
    <script src="Content/scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style>
      .ym-fbox{margin:6px;}
    </style>
</head>
<body><form id="Form1" runat=server>
<div class="ym-fbox">
    <label for="ddlDept">部门:</label>
    <select id="ddlDept" name="ddlDept" runat="server"></select>
    <label for="startDate">开始日期:</label>
    <input id="startDate" runat="server" class="Wdate" onclick="WdatePicker();"/>
    <label for="endDate">结束日期:</label>
    <input id="endDate" runat="server" class="Wdate" onclick="WdatePicker();"/>
    <input id="btnSeach" class="ym-button" type="button" value="查询" runat="server" onserverclick="btnSeach_ServerClick" />
    <CuteWebUI:Uploader runat="server" ID="UploaderFile" InsertText="上传考勤" OnFileUploaded="Uploader_File" InsertButtonStyle-CssClass="ym-button" Visible="false"></CuteWebUI:Uploader>
    <input type="button" runat="server" visible="false" id="btnSetDate" class="ym-button" value="特殊日期" onclick="openWin()"/>
    <script type="text/javascript">
        function openWin() {
            var retObj = window.showModalDialog("Specail.aspx", '', 'dialogWidth:' + 700 + 'px;dialogHeight:' + 600 + 'px;');
            if (retObj == 1) {
                window.location.reload();
            }
        }
    </script>
</div>
<%=cardLogs %></form>
</body>
</html>